package com.flyco.modules.sms.service;

import com.flyco.modules.sms.entity.SmsCouponHistory;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * @Description: 优惠券记录
 * @Author: flyco
 * @Date:   2020-01-07
 * @Version: V1.0
 */
public interface ISmsCouponHistoryService extends IService<SmsCouponHistory> {

	public List<SmsCouponHistory> selectByMainId(Long mainId);

	public SmsCouponHistory selectByCouponCode(String couponCode);

	void updateCouponStatus(String orderId, Integer useStatus);
}
